package com.jmz.apt.api.exception;

import org.springframework.dao.DataAccessException;
import org.springframework.lang.Nullable;

/**
 * Created by fanglexue on 2019/11/6.
 */
public class MyDataAccessException extends DataAccessException {

    /**
     * Constructor for TransientDataAccessException.
     * @param msg the detail message
     */
    public MyDataAccessException(String msg) {
        super(msg);
    }

    /**
     * Constructor for TransientDataAccessException.
     * @param msg the detail message
     * @param cause the root cause
     */
    public MyDataAccessException(String msg, @Nullable Throwable cause) {
        super(msg, cause);
    }


}
